package com.example.mi.myjavamall.ui.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.baselibrary.ui.fragment.BaseFragment;
import com.example.mi.myjavamall.R;

/**
 * 一、主界面Fragment by zqq on 2018/6/11.
 */

public class HomeFragment extends BaseFragment {

    //传值
    public static HomeFragment getInstance(){
        HomeFragment fragment = new HomeFragment();
        return fragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        super.onCreateView(inflater, container, savedInstanceState);
        return inflater.inflate(R.layout.fragment_home, null);
    }

}
